package com.gugee.ins.common.model.spider.blogger;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.ToString;

/**
 *
 * @author Huangxin
 */
@Data
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class InsBloggerUserFromId {
    @JsonProperty("pk")
    private Long uid;

    private String username;

    @JsonProperty("full_name")
    private String fullName;

    @JsonProperty("is_private")
    private Boolean isPrivate;

    @JsonProperty(value = "has_anonymous_profile_picture")
    private Boolean isAnonymousPic;

    @JsonProperty("profile_pic_url")
    private String picUrl;

    @JsonProperty("is_verified")
    private Boolean isVerified;

    @JsonProperty("media_count")
    private int mediaCount;

    @JsonProperty("follower_count")
    private long followerCount;

    @JsonProperty("following_count")
    private int followingCount;

    @JsonProperty("following_tag_count")
    private int followingTagCount;

    private String biography;

    @JsonProperty("external_url")
    private String externalUrl;

    @JsonProperty("total_igtv_videos")
    private int igtvCount;

    @JsonProperty("usertags_count")
    private int userTagsCount;

    @JsonProperty("business_contact_method")
    private String businessContactMethod;

    private String category;

    @JsonProperty("city_id")
    private Long cityId;

    private Long fbid;

    @JsonProperty("city_name")
    private String cityName;

    @JsonProperty("contact_phone_number")
    private String contactPhoneNumber;

    private Double latitude;

    private Double longitude;

    @JsonProperty("public_email")
    private String publicEmail;

    @JsonProperty("public_phone_country_code")
    private String publicPhoneCountryCode;

    @JsonProperty("public_phone_number")
    private String publicPhoneNumber;

    private String zip;

    @JsonProperty("is_business")
    private boolean isBusiness;

    @JsonProperty("account_type")
    private int accountType;

    private Long lastCollectTime;

    private String overallCategoryName;

    /**
     * 商业分类,该属性不存在此接口中，数据来自username接口，临时措施
     */
    @JsonProperty("business_category_name")
    private String businessCategoryName;
}
